#include "safepage.h"
#include "ui_safepage.h"
#include "paysafe.h"

SafePage::SafePage(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SafePage)
{
    ui->setupUi(this);
    this->setWindowFlags(Qt::FramelessWindowHint);
}

SafePage::~SafePage()
{
    delete ui;
}

void SafePage::on_ptnClose_clicked()
{
    this->close();
}

void SafePage::on_btnPaysafe_clicked()
{
    PaySafe * wnd = new PaySafe;
    connect(wnd, SIGNAL(destroyed()), wnd, SLOT(deleteLater()));
    wnd->show();
}
